# -*- coding: utf-8 -*-

from django.test import TestCase

from pregao.forms import AbrirPregaoForm

class AbrirPregaoFormTest(TestCase):
    def setUp(self):
        pass

    def test_valida_datas(self):
        data = {'dt_inicio_0': '25/10/2011',
                'dt_inicio_1':'00:00',
                'dt_fim_0': '23/10/2011',
                'dt_fim_1': '00:00',
                'dt_divulgacao': '23/10/2011'}
        f = AbrirPregaoForm(data)
        from IPython.Shell import IPShellEmbed ; IPShellEmbed()()
